 
ARCH		?= arm
CROSS_COMPILE	?= arm-linux-gnueabi-
export ARCH CROSS_COMPILE

obj-m += adc-module.o

KDIR := /media/Michael/ARM/kernel/linux-2.6.33-lpc313x

KBUILD_TARGETS	:= clean help modules modules_install

.PHONY: all $(KBUILD_TARGETS)
all: modules

$(KBUILD_TARGETS):
	$(MAKE) -C $(KDIR) M=$(shell pwd) $@
 
